using System;
using System.Windows.Forms;

namespace SceneEditor
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Application.SetCompatibleTextRenderingDefault(false);
            Application.EnableVisualStyles();
            Application.DoEvents();

           // Application.Run(new AnimationForm());
            using (Game1 game = new Game1())
            {
                //try
                //{
                //    game.Run();
                //}
                //catch (Exception e)
                //{
                //    System.Windows.Forms.MessageBox.Show(string.Format("Error Message : {0}" +
                //        "Crashed Method : {1}", e.Message, e.TargetSite));
                //}

                game.Run();
            }
        }
    }
}

